<template>
  <!-- 栏目划分组件 -->
  <div class="column-divide">
    <div class="column-divide-wraper">
      <span class="left"></span>
      <span class="center">{{ columnName }}</span>
      <span class="right"></span>
    </div>
  </div>
</template>
<script>
export default {
  props: ['columnName'],
  data() {
    return {};
  },
};
</script>
<style lang="scss" scoped>
.column-divide-wraper {
  position: relative;
  margin: 5px 0;
  height: 30px;

  .left {
    display: inline-block;
    position: absolute;
    left: 0;
    top: 14px;
    width: 35%;
    border-bottom: 1px solid #cecece;
  }
  .center {
    display: inline-block;
    position: absolute;
    left: 37%;
    width: 27%;
    text-align: center;
    line-height: 30px;
    font-size: 14px;
    color: #595959;
  }
  .right {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 14px;
    width: 35%;
    border-bottom: 1px solid #cecece;
  }
}
</style>
